@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}
body {
  background: #c7d7db88 !important;
  text-align: center;
}

.card-main {
  background: #d0dee0;
  border-radius: 2px;
  display: inline-block;
  height: 300px;
  margin: 1rem;
  position: relative;
  width: 300px;
}

.card-main {
  box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
  transition: all 0.3s cubic-bezier(.25,.8,.25,1);
  width: 98%;
  height: 100%;
  /* border-radius: 10px; */
  
}

.card-main img{
  width: 140px;
  height: 180px;
  /* margin-top: 30px; */
  margin: 0;
  padding: 0;
  margin-top: 25px;
  box-shadow: 0 0 15px black;
}

.card-main hr{
  margin-top: 25px;
  width: 90%;
  text-align: center;
  justify-content: center;
  margin-left: 50px;
  color: red;
 
}

.card-main p{
  /* width: 70%; */
  overflow-wrap: break-word;
}
.card-main .social-icon i{
  width: 90px;
  height: 90px;
  color: black;
  transition: all 0.5s ease-in-out;
}
.card-main .social-icon i:hover{
  
  text-shadow: 0 0 35px rgb(255, 0, 200);
  
}

.card-main h1,h3{
  text-align: center;
  color:rgb(0, 174, 255) ;
  font-family: ExtraLight 200 !important;
}
.card-main hr{
    margin-top: 5px;
}

.card-main p{
  margin-top: 25px;
  text-align: start;
  justify-content: center;
}

.card-1:hover {
  box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}

.card-2 {
  box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
}

.card-3 {
  box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
}

.card-4 {
  box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}

.card-5 {
  box-shadow: 0 19px 38px rgba(0,0,0,0.30), 0 15px 12px rgba(0,0,0,0.22);
}


@media (max-width: 991px) {
  .card-main{
    padding-top: 50px;
    padding-bottom: 50px;
    background-color: rgb(196, 232, 236);
    width: 80%;
  }

  .card-main p{
    text-align: center;
    color: black;
    justify-content: center;
    text-wrap: wrap;
  }

  .card-main p b{
    color: rgb(255, 0, 140);
  }
  
  .row {
    flex-direction: column;
  }
  
  .contact-info {
    margin-bottom: 40px;
    width: 100%;
  }
  
  .contact-form {
    width: 100%;
  }

 .card-main hr{
    margin-right: 850px;
    width: 60%;
    justify-content: center;
    flex-wrap: nowrap;
    margin-right: 10%;
    overflow: visible;
  }

  .card-main .social-icon i{
    /* padding: 0; */
    color: rgb(5, 197, 255);
    margin: 0;
    padding: -10px;
    word-spacing: 0;
    width: 18%;
  }
}

/* footer */
footer {
  background-color: #4caf50; /* Green background */
  color: white; /* White text */
  padding: 20px;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.footer-menu {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping for smaller screens */
  justify-content: center; /* Center align items */
  margin-bottom: 20px;
}

.footer-menu a {
  color: white;
  text-decoration: none;
  margin: 0 15px;
  font-size: 14px;
  padding: 5px 0;
}

.footer-menu a:hover {
  text-decoration: underline;
}

.footer-info {
  text-align: center;
}

.footer-info p {
  margin: 5px 0;
  font-size: 14px;
}

.footer-info a {
  color: white;
  text-decoration: none;
}

.footer-info a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
  .footer-menu {
    flex-direction: column; /* Stack links vertically */
    align-items: center; /* Center align vertically stacked links */
  }

  .footer-menu a {
    margin: 5px 0; /* Add vertical spacing for stacked links */
  }
}

@media (max-width: 480px) {
  footer {
    padding: 15px;
  }

  .footer-menu a {
    font-size: 12px; /* Smaller font for very small screens */
  }

  .footer-info p {
    font-size: 12px;
  }
}
